package com.onpositive.wikidataeditor;

import java.util.ArrayList;
import java.util.Collection;

import com.onpositive.mediawiki.propertyparser.ParsedCategory;
import com.onpositive.mediawiki.propertyparser.PropertyCharacteristic;
import com.onpositive.semantic.ui.workbench.elements.XMLView;

public class XMLViewWithRecourses extends XMLView {
	
	public XMLViewWithRecourses( String id ){
		super(id) ;
	}
	
	public Collection<?> getDocuments(){
		return Resources.getInstance().getWorkingCategory().getDocumentsList() ;
	}
	
	public ParsedCategory getCategory(){
		return Resources.getInstance().getWorkingCategory() ;
	}	
	public Collection<PropertyCharacteristic> getProperties(){
		return Resources.getInstance().getWorkingCategory().getChracteristicsMap().values() ;
	}
}
